package com.toobigtofail.posevo
{
	import net.flashpunk.Entity;
	import net.flashpunk.graphics.Spritemap;

	public class PointOfSpin extends Entity
	{
		public static const BASE_1:int = 0;
		public static const BASE_2:int = 1;
		public static const BASE_3:int = 2;
		
		[Embed(source = '/assets/gfx/car_wheels.png')] private const CAR_WHEELS:Class;
		
		private var _wheelSprite:Spritemap = new Spritemap(CAR_WHEELS, 10, 15);
		
		public function PointOfSpin(x:Number=0, y:Number=0) {
			this.x = x;
			this.y = y;
			
			this.setHitbox(_wheelSprite.width, _wheelSprite.height);
			
			_wheelSprite.setFrame(0,0);
			
			this.graphic = _wheelSprite;
		}
	}
}